-
Notifications
You must be signed in to change notification settings - Fork 9
Add token generation tutorial #69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
<Step title={"Update powersync.yaml"}> | ||
Update the following in your `powersync.yaml` config file with the `SharedSecret` value copied in the previous step: | ||
- `k` value in your jwks keys, and | ||
- api token |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The api token here is not relevant. That token is used for administration HTTP routes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah okay, thought it was meant to be the same. Will update
|
||
audience: ["powersync-dev", "powersync", "http://localhost:8080"] | ||
|
||
api: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can remove this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This PR introduces a tutorial on how to generate a development token for the self hosted PowerSync Service.
Tutorial can be found here.